Reliance Industries Ltd reported a 4.5% year-on-year increase in second-quarter profit, driven by improved gross refining margins (GRMs) and lower input costs.